package com.fast.develop.meta.base.resource;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author 莫寅
 * @createTime 2022-06-24 23:31
 * @desc：
 */
public class InputStreamResource implements Resource {

    private InputStream inputStream;

    public InputStreamResource(InputStream inputStream) {
        this.inputStream = inputStream;
    }

    @Override
    public InputStream getInputStream() throws IOException {
        return inputStream;
    }
}
